<template>
  <div>{{ test }}</div>

  <div
    text-red
    cursor-pointer
    text-lg
    bg-amber
    px-2
    py-4
    inline-block
    border
    border-solid
    border-blueGray
    @click="addTest"
  >
    点我加一
  </div>
</template>

<script setup lang="ts" name="compontentTestName">
import { useTestStore } from '@/store/modules/test'

const { test } = storeToRefs(useTestStore())
const { addTest } = useTestStore()
</script>

<style lang="less" scoped></style>
